//
//  RecommendRadioView.m
//  RainbowFM
//
//  Created by Kratos on 14/12/9.
//  Copyright (c) 2014年 RB. All rights reserved.
//

#import "RecommendRadioView.h"
#import "UIImageView+Circle.h"

#import "ADModel.h"

@implementation RecommendRadioView

-(void)awakeFromNib
{
    [_radioImageView showAsCircle];
    [_whiteRound showAsCircle];
}

-(void)updateContent:(ADListItem *)data
{
    [_radioImageView sd_setImageWithURL:[NSURL URLWithString:data.imgSmall] placeholderImage:nil];
    [_radioNameLabel setText:data.name];
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
